﻿using System;
using AssetsSys.Dto.Department;

namespace AssetsSys.Dto.User
{
    public class UserModel:BaseModel
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 登录邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string PhoneNum { get; set; }

        /// <summary>
        /// 是否停用
        /// </summary>
        public bool Stop { get; set; } = false;

        /// <summary>
        /// 部门
        /// </summary>
        public Guid DepartmentId { get; set; }
        public DepartmentModel Department { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
    }
}
